package com.ohxwj.modules.sys.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.ohxwj.modules.sys.dao.SystemInfoDao;
import com.ohxwj.modules.sys.entity.SystemInfoEntity;
import com.ohxwj.modules.sys.service.SystemInfoService;

/**
 * 消息中心
 *
 * @author xuwenjie
 * @date 2018-01-17 15:59:05
 */

@Service("systemInfoService")
public class SystemInfoServiceImpl implements SystemInfoService {
	@Autowired
	private SystemInfoDao systemInfoDao;
	
	@Override
	public SystemInfoEntity queryObject(Long id){
		return systemInfoDao.queryObject(id);
	}
	
	@Override
	public List<SystemInfoEntity> queryList(Map<String, Object> map){
		return systemInfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return systemInfoDao.queryTotal(map);
	}
	
	@Override
	public void save(SystemInfoEntity systemInfo){
		systemInfoDao.save(systemInfo);
	}
	
	@Override
	public void update(SystemInfoEntity systemInfo){
		systemInfoDao.update(systemInfo);
	}
	
	@Override
	public void delete(Long id){
		systemInfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Long[] ids){
		systemInfoDao.deleteBatch(ids);
	}

	@Override
	public void deleteById(Map<String, Object> map){
		systemInfoDao.deleteById(map);
	}
	
}
